package com.midea.ai.air.ui.more;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.midea.ai.air.R;
import com.midea.ai.air.common.BaseActivity;
import com.midea.ai.air.view.MyTitleBar;

/**
 * Created by hww on 2016/3/24.
 * 更多-设置-使用帮助
 */
public class MoreSettingUseHelp extends BaseActivity implements View.OnClickListener {

    private TextView actionbar_left_tv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_moresettingusehelp);

        init();
    }

    MyTitleBar myTitleBar;
    private void init(){
        myTitleBar = new MyTitleBar(this);
        myTitleBar.setActionBar_center(R.string.more_setting_use_help);
        myTitleBar.setActioBar_left(true,R.drawable.register_titler_left,R.string.action_settings);
        myTitleBar.setActionBar_right(false,0);

        actionbar_left_tv = (TextView) findViewById(R.id.actionbar_tv_left);
        actionbar_left_tv.setTextColor(getResources().getColor(R.color.electric_histogram));

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.actionbar_left_relativeLayout:

                finish();
                break;
        }
    }

}
